package com.uzai.console.vo.cms.activity;

import com.uzai.console.vo.cms.tbgoods.CmsMerTbGoodsInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月01日 19:21
 */
@ApiModel("CMS活动信息返回对象")
public class CmsActivityInfoVo {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("主标题")
    private String name;

    @ApiModelProperty("副标题")
    private String subName;

    @ApiModelProperty("来源1-运营商自建；2-官方活动")
    private Integer source;

    @ApiModelProperty("活动类型(tb-淘宝;pdd-拼多多;jd-京东;vph-唯品会;local_live-本地生活)")
    private String type;

    @ApiModelProperty("是否显示标题(0-不显示；1-显示）")
    private Integer showTitle;

    @ApiModelProperty("是否显示时间(0-不显示；1-显示）")
    private Integer showTime;

    @ApiModelProperty("活动开始时间")
    private Integer startTime;

    @ApiModelProperty("活动结束时间")
    private Integer endTime;

    @ApiModelProperty("页面显示样式")
    private Integer pageStyle;

    @ApiModelProperty("活动展示位置List(PicWord-轮播图文；MarketNavigate-营销导航；PersonalPicWord-个人中心图文；PersonalGrid-个人中心八宫格；MostOne-优惠头条)")
    private List<String> locationList;

    @ApiModelProperty("状态（0-暂停；1-正常")
    private Integer status;

    @ApiModelProperty("状态名称")
    private String statusName;

    @ApiModelProperty("展示位置明细数组")
    List<CmsActivityDetailInfoVo> cmsActivityDetailInfoVoList;

    @ApiModelProperty("活动跳转页面url")
    private String url;

    @ApiModelProperty("活动关联的商品id列表")
    private List<String> itemIdList;

    @ApiModelProperty("是否关键词触发卡片回复（0-不触发；1-触发）")
    private Integer cardReply;

    @ApiModelProperty("触发卡片回复关键词列表list")
    private List<String> cardKeywordList;

    @ApiModelProperty("卡片标题")
    private String cardTitle;

    @ApiModelProperty("卡片内容")
    private String cardContent;

    @ApiModelProperty("卡片图片")
    private String cardImg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getShowTime() {
        return showTime;
    }

    public void setShowTime(Integer showTime) {
        this.showTime = showTime;
    }

    public Integer getStartTime() {
        return startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
    }

    public Integer getEndTime() {
        return endTime;
    }

    public void setEndTime(Integer endTime) {
        this.endTime = endTime;
    }

    public Integer getPageStyle() {
        return pageStyle;
    }

    public void setPageStyle(Integer pageStyle) {
        this.pageStyle = pageStyle;
    }

    public List<String> getLocationList() {
        return locationList;
    }

    public void setLocationList(List<String> locationList) {
        this.locationList = locationList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public List<CmsActivityDetailInfoVo> getCmsActivityDetailInfoVoList() {
        return cmsActivityDetailInfoVoList;
    }

    public void setCmsActivityDetailInfoVoList(List<CmsActivityDetailInfoVo> cmsActivityDetailInfoVoList) {
        this.cmsActivityDetailInfoVoList = cmsActivityDetailInfoVoList;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getItemIdList() {
        return itemIdList;
    }

    public void setItemIdList(List<String> itemIdList) {
        this.itemIdList = itemIdList;
    }

    public Integer getCardReply() {
        return cardReply;
    }

    public void setCardReply(Integer cardReply) {
        this.cardReply = cardReply;
    }

    public List<String> getCardKeywordList() {
        return cardKeywordList;
    }

    public void setCardKeywordList(List<String> cardKeywordList) {
        this.cardKeywordList = cardKeywordList;
    }

    public String getCardTitle() {
        return cardTitle;
    }

    public void setCardTitle(String cardTitle) {
        this.cardTitle = cardTitle;
    }

    public String getCardContent() {
        return cardContent;
    }

    public void setCardContent(String cardContent) {
        this.cardContent = cardContent;
    }

    public String getCardImg() {
        return cardImg;
    }

    public void setCardImg(String cardImg) {
        this.cardImg = cardImg;
    }

    public Integer getShowTitle() {
        if(showTitle == null){
            showTitle = 0;
        }
        return showTitle;
    }

    public void setShowTitle(Integer showTitle) {
        this.showTitle = showTitle;
    }
}
